home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 20 / Cream of the Crop 20 (Terry Blount) (1996).iso / comm / faxhvn31.zip / INSTALL.BAT < prev    next >
DOS Batch File  |  1996-05-27  |  5KB  |  123 lines

  1. Echo off
  2. REM *********************************************************************/
  3. REM                                                                     */
  4. REM   SYSTEM       : FAXHAVEN                                           */
  5. REM   COPYRIGHT    : (c) 1996 HTF CONSULTING                            */
  6. REM                                                                     */
  7. REM *********************************************************************/
  8. REM                                                                     */
  9. REM   BAT file name: Install.bat                                        */
  10. REM   DESCRIPTION  : This batch file drives the Installation prodecure  */
  11. REM                  for the FAXHAVEN product                           */
  12. REM                  Install Batch file for One-Step FAXHAVEN           */
  13. REM                                                                     */
  14. REM *********************************************************************/
  15. REM
  16. CLS
  17. Echo *************************************************************************
  18. Echo * Welcome to the FAXHAVEN Installation Procedure                        *
  19. Echo * Copyright (C) 1996 HTF Consulting                                     *
  20. Echo *************************************************************************
  21. Echo *
  22. Echo To install FAXHAVEN into the directory C:\FAXHAVEN, just enter "Install"
  23. Echo To install FAXHAVEN into any other directory,  enter "Install X:\dirname"
  24. Echo Where 'X' is the drive name ( C, D, E, etc.) & "dirname" is the directory.
  25. Echo Example(1): "INSTALL "
  26. Echo Example(2): "INSTALL C:\MYFAXDIR"
  27. Echo Example(3): "INSTALL D:\FAXHAVEN"
  28. Echo *
  29. if "%1" == "" goto verify
  30.  
  31. Echo WARNING!!! If you have entered a directory name without a drive letter
  32. Echo or a drive letter without a directory name the installation will fail.
  33. Echo Compare your input to the examples above.
  34. Echo YOUR INPUT WAS:  "%0 %1"
  35. Echo *
  36.  
  37. :verify
  38. if     "%1" == "" Echo Press {spacebar} to install FAXHAVEN into the drive:directory  C:\FAXHAVEN
  39. if not "%1" == "" Echo Press {spacebar} to install FAXHAVEN into the drive:directory  %1
  40. Echo *
  41. Echo Enter [CNTL_C] to abort, OR...
  42. Pause
  43.  
  44. if exist c:\fh.bat goto previnstl
  45. REM if     "%1" == "" if exist C:\FAXHAVEN\*.* goto previnstl
  46. REM if not "%1" == "" if exist %1\*.* goto previnstl
  47. goto install
  48.  
  49. :previnstl
  50. CLS
  51. Echo ATTENTION! ATTENTION! ATENTION!
  52. Echo A previous installation of FAXHAVEN is detected.  You must completely remove
  53. Echo FAXHAVEN before re-installing. Contact HTF Consulting (510) 521-1689
  54. goto Abort
  55.  
  56. :install
  57. CLS
  58. Echo When the installation is complete the screen will clear and informative
  59. Echo messages will appear!
  60. Echo *
  61. Echo Copying files .....
  62.  
  63. if not "%1" == "" goto Userdir
  64.  
  65. mkdir c:\FAXHAVEN
  66. copy *.* c:\FAXHAVEN
  67. Setpath.exe FH        FAXHAVEN
  68. Setpath.exe HQFAX     FAXHAVEN
  69. Setpath.exe FAXIT     FAXHAVEN
  70. REM erase c:\faxhaven\setpath.exe
  71. REM erase c:\faxhaven\install.bat
  72. goto Quit
  73.  
  74. :Userdir
  75. mkdir %1
  76. copy *.* %1
  77. Setpath.exe FH    %1
  78. Setpath.exe HQFAX %1
  79. Setpath.exe FAXIT %1
  80. erase %1\setpath.exe
  81. REM erase %1\install.bat
  82.  
  83. :Quit
  84. REM CLS
  85. REM Call HQFinfo.bat
  86. REM Echo Print this screen if you like, and then ...
  87. REM pause
  88. CLS
  89. Echo **** ATTENTION! ATTENTION! ATTENTION! ATTENTION! ATTENTION! ATTENTION! ****
  90. Echo *
  91. if     "%1" == "" Echo FAXHAVEN is installed into the directory  C:\FAXHAVEN.
  92. if not "%1" == "" Echo FAXHAVEN is installed into the directory  %1.
  93. Echo *
  94. Echo New users are encouraged to study and excercise the tutorial in the
  95. Echo First Time Use section of the Readme file "Readme.FH".
  96. Echo When you contact us for technical support, we will be happy to assist you,
  97. Echo but we will want to know right away how far you got with the tutorial.
  98. Echo *
  99. Echo Registered users will want to enter their Registration key into the
  100. Echo Registration key field in the FAXHAVEN Configuration screen.
  101. Echo *
  102. Echo More information follows.
  103. Pause
  104. Echo You may execute FAXHAVEN from any directory if the root directory (C:\;) is in
  105. Echo your current PATH. Otherwise you may execute FAXHAVEN from the root directory.
  106. Echo Your current PATH is:
  107. PATH
  108. PATH C:\;%path%
  109. Echo *
  110. Echo Your current PATH has been modified to include the root directory (C:\;).
  111. Echo Your autoexec.bat file has *NOT* been modified.
  112. Echo You may wish to update the PATH statement in your autoexec.bat file.
  113. Echo *
  114. Echo To start FAXHAVEN, just enter "FH" at the DOS prompt.
  115. Echo Monochrome screen users may need to enter "FH /mono" .
  116. Echo To start HQFAX directly, just enter "HQFAX" at the DOS prompt.
  117. Echo Happy FAXing!
  118. :Abort
  119. :quit
  120. C:
  121. chdir c:\
  122. Echo on
  123.